<?php 
global $dir_tpl, $tb_fix, $temp, $anyDB, $temp;  
$sql = "select * from ".$tb_fix."_tour_khoihanh order by tkh_order asc";
$q = $anyDB->query($sql);
if($anyDB->numRows($q)>0){
    $r = $anyDB->getAll($q);
    foreach($r as $k=>$v){
        $r[$k]["url"] = "tour/place/".$v['tkh_id']."/".convertText($v['tkh_name'])."/";
    }    
}
$temp->assign("row",$r); 
$temp->display("$dir_tpl/blocks/home_diemkhoihanh/tpl_home_diemkhoihanh.mct"); 
?> 
